import request from '@/utils/request';


//获取token 即 openid
export async function fakeAccountLogin(code) {
  return request(`/wbn-api/wechat/login?code=${code}`);
}

//用户绑定
export async function bind(params) {
  return request('/wbn-api/wechat/customers/user/bind', {
    method: 'POST',
    data: params,
  });
}